@echo off
echo ***********************************************************************
echo * Copyright 2012 ELEN7046 Group 2
echo * .
echo * Contributors:
echo * .
echo * Amith Sewnarain
echo * Elmar Vosloo
echo * Jason Thorne
echo * Satish Jewan
echo * .
echo * Wits University 
echo * School of Electrical and Information Engineering
echo * Software Engineering Tools and Techniques
echo * .
echo * .
echo * .
echo * This file is part of the DishDash Event Visualization System.
echo * .
echo * DishDash is free software: you can redistribute it and/or modify
echo * it under the terms of the GNU General Public License as published by
echo * the Free Software Foundation, either version 3 of the License, or
echo * (at your option) any later version.
echo * .
echo * DishDash is distributed in the hope that it will be useful,
echo * but WITHOUT ANY WARRANTY; without even the implied warranty of
echo * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
echo * GNU General Public License for more details.
echo * .
echo * You should have received a copy of the GNU General Public License
echo * along with DishDash.  
echo * If not, see <http://www.gnu.org/licenses/>.
echo ***********************************************************************

echo HIT ENTER TO CONTINUE
pause

set ROOTDIR=%~dp0

@echo on 


call 0.uninstall.prerequisites.bat


cd %ROOTDIR%
call 0.solution.install.prerequisites.bat

cd %ROOTDIR%
call 1.solution.justbuildthebinaries.bat

cd %ROOTDIR%
call 2.solution.reinstall.and.start.dishdashservices.bat

cd %ROOTDIR%
call 3.solution.start.mongodb.and.import.lookupdata.bat

cd %ROOTDIR%
call 5.install.msis.bat

pause
cd %ROOTDIR%
start 00.start.generating.events.bat
start 6.inject.instrumentation.logic.into.sample.app.bat

cd %ROOTDIR%
call 4.launchchrome.bat